Optimal. Leaf size=421 \[ \frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}-\frac{43 b^2 d x^3 \sqrt{d-c^2 d x^2}}{1728}-\frac{7 b^2 d x \sqrt{d-c^2 d x^2}}{1152 c^2}+\frac{7 b^2 d \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{1152 c^3 \sqrt{1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.709541, antiderivative size = 421, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 11, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.379, Rules used = {4699, 4697, 4707, 4641, 4627, 321, 216, 14, 4687, 12, 459} \[ \frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}-\frac{43 b^2 d x^3 \sqrt{d-c^2 d x^2}}{1728}-\frac{7 b^2 d x \sqrt{d-c^2 d x^2}}{1152 c^2}+\frac{7 b^2 d \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{1152 c^3 \sqrt{1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4699
Rule 4697
Rule 4707
Rule 4641
Rule 4627
Rule 321
Rule 216
Rule 14
Rule 4687
Rule 12
Rule 459
Rubi steps
\begin{align*} \int x^2 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx &=\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{2} d \int x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx-\frac{\left (b c d \sqrt{d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{3 \sqrt{1-c^2 x^2}}\\ &=-\frac{b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{12 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^2 \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt{1-c^2 x^2}} \, dx}{8 \sqrt{1-c^2 x^2}}-\frac{\left (b c d \sqrt{d-c^2 d x^2}\right ) \int x^3 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{4 \sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^4 \left (3-2 c^2 x^2\right )}{12 \sqrt{1-c^2 x^2}} \, dx}{3 \sqrt{1-c^2 x^2}}\\ &=-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt{1-c^2 x^2}} \, dx}{16 c^2 \sqrt{1-c^2 x^2}}+\frac{\left (b d \sqrt{d-c^2 d x^2}\right ) \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx}{8 c \sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^4 \left (3-2 c^2 x^2\right )}{\sqrt{1-c^2 x^2}} \, dx}{36 \sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^4}{\sqrt{1-c^2 x^2}} \, dx}{16 \sqrt{1-c^2 x^2}}\\ &=-\frac{1}{64} b^2 d x^3 \sqrt{d-c^2 d x^2}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}+\frac{\left (3 b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx}{64 \sqrt{1-c^2 x^2}}-\frac{\left (b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx}{16 \sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^4}{\sqrt{1-c^2 x^2}} \, dx}{27 \sqrt{1-c^2 x^2}}\\ &=\frac{b^2 d x \sqrt{d-c^2 d x^2}}{128 c^2}-\frac{43 b^2 d x^3 \sqrt{d-c^2 d x^2}}{1728}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}+\frac{\left (b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx}{36 \sqrt{1-c^2 x^2}}+\frac{\left (3 b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{128 c^2 \sqrt{1-c^2 x^2}}-\frac{\left (b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{32 c^2 \sqrt{1-c^2 x^2}}\\ &=-\frac{7 b^2 d x \sqrt{d-c^2 d x^2}}{1152 c^2}-\frac{43 b^2 d x^3 \sqrt{d-c^2 d x^2}}{1728}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}-\frac{b^2 d \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{128 c^3 \sqrt{1-c^2 x^2}}+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}+\frac{\left (b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{72 c^2 \sqrt{1-c^2 x^2}}\\ &=-\frac{7 b^2 d x \sqrt{d-c^2 d x^2}}{1152 c^2}-\frac{43 b^2 d x^3 \sqrt{d-c^2 d x^2}}{1728}+\frac{1}{108} b^2 c^2 d x^5 \sqrt{d-c^2 d x^2}+\frac{7 b^2 d \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{1152 c^3 \sqrt{1-c^2 x^2}}+\frac{b d x^2 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt{1-c^2 x^2}}-\frac{7 b c d x^4 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{48 \sqrt{1-c^2 x^2}}+\frac{b c^3 d x^6 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{18 \sqrt{1-c^2 x^2}}-\frac{d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}+\frac{1}{8} d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{6} x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{48 b c^3 \sqrt{1-c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.312958, size = 297, normalized size = 0.71 \[ \frac{d \sqrt{d-c^2 d x^2} \left (3 b \sin ^{-1}(c x) \left (72 a^2-48 a b c x \sqrt{1-c^2 x^2} \left (8 c^4 x^4-14 c^2 x^2+3\right )+b^2 \left (64 c^6 x^6-168 c^4 x^4+72 c^2 x^2+7\right )\right )-72 a^2 b c x \sqrt{1-c^2 x^2} \left (8 c^4 x^4-14 c^2 x^2+3\right )+72 a^3+24 a b^2 c^2 x^2 \left (8 c^4 x^4-21 c^2 x^2+9\right )+72 b^2 \sin ^{-1}(c x)^2 \left (3 a+b c x \sqrt{1-c^2 x^2} \left (-8 c^4 x^4+14 c^2 x^2-3\right )\right )+b^3 c x \sqrt{1-c^2 x^2} \left (32 c^4 x^4-86 c^2 x^2-21\right )+72 b^3 \sin ^{-1}(c x)^3\right )}{3456 b c^3 \sqrt{1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.48, size = 1075, normalized size = 2.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (a^{2} c^{2} d x^{4} - a^{2} d x^{2} +{\left (b^{2} c^{2} d x^{4} - b^{2} d x^{2}\right )} \arcsin \left (c x\right )^{2} + 2 \,{\left (a b c^{2} d x^{4} - a b d x^{2}\right )} \arcsin \left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}{\left (b \arcsin \left (c x\right ) + a\right )}^{2} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]